package com.ms.p2p.enums;

/**
 * Created by xing_ on 2017/6/17.
 * 还款方式
 */
public enum LoanRepayStyle {

    STYLE_0("一次性还本付息",0),
    STYLE_1("等额本息",1),
    STYLE_2("空",2),
    STYLE_3("按月付息到期还本",3),
    STYLE_4("等本等息(提前一个月)",4),
    STYLE_5("等本等息",5),
    STYLE_6("等本等息(提前二个月)",6),;

    private String name;
    private Integer value;

    LoanRepayStyle(String name, Integer value) {
        this.name = name;
        this.value = value;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getValue() {
        return value;
    }

    public void setValue(Integer value) {
        this.value = value;
    }
}
